<style type="text/css">
    #hr-examineSimple-detail .examineSimple-info div {
        margin: 10px 15px;
        max-width: 19rem;
    }
</style>
<!-- 注意id属性每个页面id必须独立 lay-title为当前页面的标题属性-->
<div class="layui-fluid" id="hr-examineSimple-detail" lay-title="试卷信息">
    <div id="hr-examineSimple-info-wrapper">
        <form class="layui-form" action="" lay-filter="hr-examineSimple-update-form">
            <div class="layui-form-item">
                <label class="layui-form-label">试卷名称</label>
                <div class="layui-input-block">
                    <input type="text" name="title" class="layui-input" disabled>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">试卷总分</label>
                <div class="layui-input-block">
                    <input type="text" name="total"  class="layui-input" disabled>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">考试时长</label>
                <div class="layui-input-block">
                    <input type="text" name="minutes"  class="layui-input" disabled>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">发布状态</label>
                <div class="layui-input-block">
                    <input type="text" name="detail"  class="layui-input" disabled>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">创建人</label>
                <div class="layui-input-block">
                    <input type="text" name="createStaffName"  class="layui-input" disabled>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">创建时间</label>
                <div class="layui-input-block">
                    <input type="text" name="createDate"  class="layui-input" disabled>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">修改人</label>
                <div class="layui-input-block">
                    <input type="text" name="updateStaffName"  class="layui-input" disabled>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">修改时间</label>
                <div class="layui-input-block">
                    <input type="text" name="lastModifyDate"  class="layui-input" disabled>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">考试登录密码</label>
                <div class="layui-input-block">
                    <input type="text" name="randPwd"  class="layui-input" disabled>
                </div>
            </div>
        </form>
    </div>
</div>
<script data-th-inline="javascript">
    layui.use(['febs', 'form', 'validate'], function () {
        let $ = layui.$,
            form = layui.form,
            // 获得后台出入的实体对象
            examineSimple = [[${examineSimple}]];
        // 表单渲染
        form.render();
        // 初始化页面数据
        initexamineSimpleValue();
        // 初始化页面数据
        function initexamineSimpleValue() {
            form.val("hr-examineSimple-update-form", {
                "title":examineSimple.title,
                "total": examineSimple.total,
                "minutes": examineSimple.minutes,
                "publish": examineSimple.publish,
                "createDate": examineSimple.createDate,
                "lastModifyDate": examineSimple.lastModifyDate,
                "randPwd": examineSimple.randPwd,
                "createStaffName": examineSimple.createStaffName,
                "updateStaffName": examineSimple.updateStaffName,
                "detail": examineSimple.detail
            });
        }
    });
</script>